package frog.lazy.framework.core.tools;

import cn.hutool.crypto.SecureUtil;
import cn.hutool.crypto.symmetric.AES;


public class TestUtils {
    public static void main(String[] args) {
        AES s = SecureUtil.aes(SecureUtil.generateKey("AES", "ca2832f623cb308a".getBytes()).getEncoded());
//        String str = s.encryptHex("123456");
//        System.out.println(str);
        String s1 = s.decryptStr("8a8bad65c5df1ed86e9447a261441581");

        System.out.println(s1);
    }
}
